<!--
 * @Author: your name
 * @Date: 2020-05-14 22:08:39
 * @LastEditTime: 2020-05-14 22:20:43
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \source\components\page\editTable.vue
 -->
<template>
  <div>
      <div class="tool">
          
      </div>
    <Table
      :border="border"
      :columns="columnsNow"
      :data="list"
      :height="tableHeight"
      :draggable="draggable"
      ref="table"     
      @on-drag-drop="onDragDrop"
      @on-selection-change="selectionChange"
      @on-select="onSelect"
    ></Table>
    <div class="footer"></div>
  </div>
</template>

<script>
export default {
    props:{
        draggable:{
            type:Boolean
        },
        border:{
            type:Boolean
        },
        columns:{
            type:Array
        },
        data:{
            type:Array
        }
    },
    data(){
        return {
            tableHeight:500
        }
    },
    methods:{
        onDragDrop(a,b){

        },
        selectionChange(){

        },
        onSelect(){

        },
        draggable(){
            
        }
    },
    computed:{
        columnsNow(){
            return []
        }
    }
};
</script>

<style>
</style>